package cn.tedu.stock.webapi.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StockMapper {

    //减少库存方法
    void updateStockCountByCommodityCode(@Param("commodityCode") String commodityCode, @Param("reduceCount") Integer reduceCount);
}
